export default class Test {
  public readonly var1: number

  constructor(var1: number) {
    this.var1 = var1
  }

  showVar() {
    console.log(111, this.var1)
  }
}

class Test2 extends Test {
  private readonly var2
  private readonly stage: egret.Stage
  constructor(var1: number, var2: number) {
    super(var1)
    this.var2 = var2
  }
}
